projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8789f0d
)
(ccl_driver): If ccl->suppress_error is nonzeor, don't
author
Kenichi Handa
<handa@m17n.org>
Wed, 24 Jan 2001 23:29:59 +0000
(23:29 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Wed, 24 Jan 2001 23:29:59 +0000
(23:29 +0000)
insert error message to the output.
(setup_ccl_program): Initialize ccl->suppress_error to 0.
src/ccl.c
patch
|
blob
|
history
diff --git
a/src/ccl.c
b/src/ccl.c
index de50374f9f8d4888b84dfb80dc1271932374b5ef..259ae8662f57379ae48485951d564699311fa1ab 100644
(file)
--- a/
src/ccl.c
+++ b/
src/ccl.c
@@
-1720,7
+1720,8
@@
ccl_driver (ccl, source, destination, src_bytes, dst_bytes, consumed)
}
ccl_error_handler:
- if (destination)
+ if (ccl->suppress_error
+ && destination)
{
/* We can insert an error message only if DESTINATION is
specified and we still have a room to store the message
@@
-1937,6
+1938,7
@@
setup_ccl_program (ccl, ccl_prog)
ccl->status = 0;
ccl->stack_idx = 0;
ccl->eol_type = CODING_EOL_LF;
+ ccl->suppress_error = 0;
return 0;
}